<?php

namespace app\api\controller;
use  app\common\controller\DBase;
use app\common\controller\PCBase;
use app\api\logic\KolMessageLogic;
class KolMessage extends DBase
{

    /**
     * @desc   达人合作表修改时发送http请求
     * @author xx
     * @date 2025-08-24
     */
    public function get_cooperate_info(){
        $data   = $this->request->post();
        $res    = (new KolMessageLogic())->get_cooperate_info($data);
        return $this->jsonMessage(200,true,'获取成功','');
    }



    /**
     * @desc   达人合作表新增时发送http请求
     * @author xx
     * @date 2025-08-24
     */
    public function add_cooperate_info(){
        $data   = $this->request->post();
        $res    = (new KolMessageLogic())->add_cooperate_info($data);
        return $this->jsonMessage(200,true,'获取成功','');
    }




    /**
     * @desc   获取wiki表格需要的token
     * @author luckyXiong
     * @date   2025-06-20
     */
    public function get_wiki_token(){
        $data   = $this->request->post();
        $res    = (new KolMessageLogic())->get_wiki_token($data);
        return      $this->jsonMessage(200,true,'操作成功',$res);
    }





    /**
     * @desc     接口拉取达人合作信息
     * @author   xx
     * @date     2025-08-13
     */
    public function cooperate_info(){
        $data   = $this->request->get();
        $res    = (new KolMessageLogic())->cooperate_info($data);
        return $this->jsonMessage(200,true,'操作成功','');
    }


    /**
     * @desc     接口拉取达人合作信息
     * @author   xx
     * @date     2025-08-13
     */
    public function cooperate_data_consumer(){
        $data   = $this->request->post();
        $res    = (new KolMessageLogic())->cooperate_data_consumer($data);
        return $this->jsonMessage(200,true,'获取成功','');
    }


    /**
     * @desc     接口拉取达人订单信息
     * @author   xx
     * @date     2025-08-15
     */
    public function cooperate_order(){
        $data   = $this->request->get();
        $res    = (new KolMessageLogic())->cooperate_order($data);
        return $this->jsonMessage(200,true,'操作成功','');
    }


    /**
     * @desc     接口拉取达人订单信息
     * @author   xx
     * @date     2025-08-13
     */
    public function cooperate_order_consumer(){
        $data   = $this->request->post();
        $res    = (new KolMessageLogic())->cooperate_order_consumer($data);
        return $this->jsonMessage(200,true,'获取成功','');
    }


    /**
     * @desc     接口拉取达人素材信息
     * @author   xx
     * @date     2025-08-15
     */
    public function cooperate_video(){
        $data   = $this->request->get();
        $res    = (new KolMessageLogic())->cooperate_video($data);
        return $this->jsonMessage(200,true,'操作成功','');
    }


    /**
     * @desc     接口拉取达人素材信息消费
     * @author   xx
     * @date     2025-08-13
     */
    public function cooperate_video_consumer(){
        $data   = $this->request->post();
        $res    = (new KolMessageLogic())->cooperate_video_consumer($data);
        return $this->jsonMessage(200,true,'获取成功','');
    }


    /**
     * @desc     接口拉取达人素材信息消费
     * @author   xx
     * @date     2025-08-13
     */
    public function cooperate_video_local_consumer(){
        $data   = $this->request->post();
        $res    = (new KolMessageLogic())->cooperate_video_local_consumer($data);
        return $this->jsonMessage(200,true,'获取成功','');
    }


    /**
     * @desc     接口拉取达人素材数据
     * @author   xx
     * @date     2025-08-13
     */
    public function cooperate_video_produce(){
        $data   = $this->request->post();
        $res    = (new KolMessageLogic())->cooperate_video_produce();
        return $this->jsonMessage(200,true,'获取成功','');
    }




}